home *** CD-ROM | disk | FTP | other *** search
/ BBS Toolkit / BBS Toolkit.iso / wildcat / tscn312.zip / SCANFILE.ZIP / READTHIS.! < prev    next >
Text File  |  1992-08-10  |  2KB  |  62 lines

  1.  
  2.  
  3.  
  4.      Enclosed you will find a detailed ScanFile.Bat that uses POSTMSTR by
  5.      Dave Cody to send messages to users after upload.  This feature will
  6.      soon be internal in TranScan, but I thought I would give you an
  7.      opportunity to experiment a little.
  8.  
  9.      Copy the *.imp files to your MSG directory.
  10.  
  11.      You will need to edit the messages to fit your tastes.
  12.  
  13.      Make sure you edit the ScanFile.Bat file, too.  You will need to edit
  14.      the paths primarily so that they can find the *.imp files and also
  15.      the TranScan.Err file.
  16.  
  17.      Let me explain about the line that reads:
  18.  
  19.        IF "%THANKED%"=="YES" GOTO end
  20.  
  21.                                      and
  22.  
  23.        SET THANKED=YES
  24.  
  25.     If you run Wildcat "M" (Multi Line), "IM" (DIGI), or "P" (Professional)
  26.     add the following line to each batch file just before wildcat is run:
  27.  
  28.        SET THANKED=NO
  29.  
  30.     If you run Wildcat "S" (Single Line) add the following in your CAT.BAT
  31.     just before wildcat is run:
  32.  
  33.        SET THANKED=NO
  34.  
  35.     You will also need to add this to your POSTCALL.BAT and activate this
  36.     feature.
  37.  
  38.     What this does is allow the batch file to determine if a message has
  39.     already been sent once to this user after an upload. If it has it does not
  40.     send another. In this way, a guy that uploads one file will bet one
  41.     message.  A guy that loads 30 files will also get one message.
  42.  
  43.     You might think that it would be better to add just one SET THANKED=NO
  44.     to your CONFIG.SYS file.  No, it wouldn't because if you are running
  45.     MultiNode other nodes will be able to turn this flag on and off.
  46.  
  47.     What if you don't add it?  Do you need to remove those lines?  No.  The
  48.     batch file will report Environment not found or something but it isn't
  49.     a problem.
  50.  
  51.     Let me know what you think.
  52.  
  53.     -- Craig
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.